package com.learning.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class PageQueryDTO implements Serializable {
    public static final Integer DEFAULT_PAGE_SIZE = 10;
    public static final Integer DEFAULT_PAGE = 1;

    //页码
    private int page = DEFAULT_PAGE;

    //每页显示记录数
    private int pageSize = DEFAULT_PAGE_SIZE;
}
